﻿<header class="action-bar">
    <a href="javascript: history.back();" class="app-icon action up" data-transition="pop">
        <i class="icon-up-button">
        </i>
        <i class="icon-view-as-list"></i>
    </a>
    <h1 class="title">Tasks</h1>
    <ul class="actions pull-right">
        <li><a href="#edit-task/0" class="action" title="New Task"></a></li>
    </ul>
</header>
<div class="content">
    <ul class="list inset">
        <li class="list-divider" ng-repeat-start="story in taskCtrl.stories">{{ story.title }}</li>
        <li class="list-item-single-line" ng-repeat="task in story.tasks" ng-repeat-end="">            
            <a ng-href="{{ '#edit-task/' + task.id }}">{{ task.title}}</a>
        </li>
    </ul>
</div>